/*
 * Copyright 2016 Wealth Inc. All rights reserved.
 */
 package com.wealth.bbs.vo;


import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 主题详情
 * @author chan
 *
 */
public class TopicVO {
	
	private Long id;
	private String name;
	private String content;
	private Date createTime;
	private String nickname;		/** 发帖昵称 */
	private String headimgurl;	/** 发帖头像 */
	private String sex;				/** 性别 */
	private Integer status;
	private Integer pv;
	private Long memberid;
	private Long boardid;	
	private Long corpid;
	
	private TopicAppraiseVO topicAppraiseVO;											/** 帖子的回复数 ,点赞数等信息 */	
	private List<ReplyVO> replyList = new ArrayList<ReplyVO>();				/** 帖子回复 */
	private List<TopicPicVO> topicPicList = new ArrayList<TopicPicVO>();	/** 帖子图片 */
	
	
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}

	@JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")  
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	
	public String getNickname() {
		return nickname;
	}
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}
	public String getHeadimgurl() {
		return headimgurl;
	}
	public void setHeadimgurl(String headimgurl) {
		this.headimgurl = headimgurl;
	}
	
	public TopicAppraiseVO getTopicAppraiseVO() {
		return topicAppraiseVO;
	}
	public void setTopicAppraiseVO(TopicAppraiseVO topicAppraiseVO) {
		this.topicAppraiseVO = topicAppraiseVO;
	}
	public List<ReplyVO> getReplyList() {
		return replyList;
	}
	public void setReplyList(List<ReplyVO> replyList) {
		this.replyList = replyList;
	}
	public List<TopicPicVO> getTopicPicList() {
		return topicPicList;
	}
	public void setTopicPicList(List<TopicPicVO> topicPicList) {
		this.topicPicList = topicPicList;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public Long getMemberid() {
		return memberid;
	}
	public void setMemberid(Long memberid) {
		this.memberid = memberid;
	}
	public Long getBoardid() {
		return boardid;
	}
	public void setBoardid(Long boardid) {
		this.boardid = boardid;
	}
	public Long getCorpid() {
		return corpid;
	}
	public void setCorpid(Long corpid) {
		this.corpid = corpid;
	}
	public Integer getPv() {
		return pv;
	}
	public void setPv(Integer pv) {
		this.pv = pv;
	}
	
	
}



